﻿using Bigway.Common.Models.DbModels;
using SqlSugar;

namespace Benefactor.Models.DbModels;

public class Product: DeletableEntity
{
    [SugarColumn(IsNullable = false, Length = 20)]
    public string MerchantId { get; set; }

    [SugarColumn(IsNullable = false, Length = 20)]
    public string Name { get; set; } //折扣券, 免费券, 满减券

    [SugarColumn(IsNullable = false, Length = 20)]
    public string Description { get; set; }

    [SugarColumn(IsNullable = false, Length = 20)]
    public string ProductTypeCode { get; set; }

    [SugarColumn(IsNullable = false)]
    public double Value { get; set; }   // 价值, 以人民币计价
}